package com.Web.DAO;

import com.Web.Person.Teacher;

import java.util.List;

public interface ITeacherDAO {

    List<Teacher> selectByPage(int offset, Integer pageSize);

    int selectTotalCount();

    List<Teacher> selectAll();

    void deleteById(int i);

    void add(Teacher teacher);

    Teacher toUpDate(int id);

    void update(Teacher teacher);
}
